Optimal. Leaf size=434 \[ \frac{2 (c+d x)^{5/2} \left (3 a^2 b d^2 (C d-4 c D)+a^3 d^3 D-3 a b^2 d \left (-B d^2-10 c^2 D+4 c C d\right )+b^3 \left (A d^3-4 B c d^2+10 c^2 C d-20 c^3 D\right )\right )}{5 d^7}-\frac{2 (c+d x)^{3/2} (b c-a d) \left (a^2 d^2 (C d-3 c D)-a b d \left (-3 B d^2-15 c^2 D+8 c C d\right )+b^2 \left (3 A d^3-6 B c d^2+10 c^2 C d-15 c^3 D\right )\right )}{3 d^7}+\frac{2 b (c+d x)^{7/2} \left (3 a^2 d^2 D+3 a b d (C d-5 c D)+b^2 \left (-\left (-B d^2-15 c^2 D+5 c C d\right )\right )\right )}{7 d^7}-\frac{2 \sqrt{c+d x} (b c-a d)^2 \left (a d \left (-B d^2-3 c^2 D+2 c C d\right )-b \left (3 A d^3-4 B c d^2+5 c^2 C d-6 c^3 D\right )\right )}{d^7}+\frac{2 (b c-a d)^3 \left (A d^3-B c d^2+c^2 C d+c^3 (-D)\right )}{d^7 \sqrt{c+d x}}+\frac{2 b^2 (c+d x)^{9/2} (3 a d D-6 b c D+b C d)}{9 d^7}+\frac{2 b^3 D (c+d x)^{11/2}}{11 d^7} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.358911, antiderivative size = 434, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 32, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.031, Rules used = {1620} \[ \frac{2 (c+d x)^{5/2} \left (3 a^2 b d^2 (C d-4 c D)+a^3 d^3 D-3 a b^2 d \left (-B d^2-10 c^2 D+4 c C d\right )+b^3 \left (A d^3-4 B c d^2+10 c^2 C d-20 c^3 D\right )\right )}{5 d^7}-\frac{2 (c+d x)^{3/2} (b c-a d) \left (a^2 d^2 (C d-3 c D)-a b d \left (-3 B d^2-15 c^2 D+8 c C d\right )+b^2 \left (3 A d^3-6 B c d^2+10 c^2 C d-15 c^3 D\right )\right )}{3 d^7}+\frac{2 b (c+d x)^{7/2} \left (3 a^2 d^2 D+3 a b d (C d-5 c D)+b^2 \left (-\left (-B d^2-15 c^2 D+5 c C d\right )\right )\right )}{7 d^7}-\frac{2 \sqrt{c+d x} (b c-a d)^2 \left (a d \left (-B d^2-3 c^2 D+2 c C d\right )-b \left (3 A d^3-4 B c d^2+5 c^2 C d-6 c^3 D\right )\right )}{d^7}+\frac{2 (b c-a d)^3 \left (A d^3-B c d^2+c^2 C d+c^3 (-D)\right )}{d^7 \sqrt{c+d x}}+\frac{2 b^2 (c+d x)^{9/2} (3 a d D-6 b c D+b C d)}{9 d^7}+\frac{2 b^3 D (c+d x)^{11/2}}{11 d^7} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1620
Rubi steps
\begin{align*} \int \frac{(a+b x)^3 \left (A+B x+C x^2+D x^3\right )}{(c+d x)^{3/2}} \, dx &=\int \left (\frac{(-b c+a d)^3 \left (c^2 C d-B c d^2+A d^3-c^3 D\right )}{d^6 (c+d x)^{3/2}}+\frac{(b c-a d)^2 \left (-a d \left (2 c C d-B d^2-3 c^2 D\right )+b \left (5 c^2 C d-4 B c d^2+3 A d^3-6 c^3 D\right )\right )}{d^6 \sqrt{c+d x}}+\frac{(b c-a d) \left (-a^2 d^2 (C d-3 c D)+a b d \left (8 c C d-3 B d^2-15 c^2 D\right )-b^2 \left (10 c^2 C d-6 B c d^2+3 A d^3-15 c^3 D\right )\right ) \sqrt{c+d x}}{d^6}+\frac{\left (a^3 d^3 D+3 a^2 b d^2 (C d-4 c D)-3 a b^2 d \left (4 c C d-B d^2-10 c^2 D\right )+b^3 \left (10 c^2 C d-4 B c d^2+A d^3-20 c^3 D\right )\right ) (c+d x)^{3/2}}{d^6}+\frac{b \left (3 a^2 d^2 D+3 a b d (C d-5 c D)-b^2 \left (5 c C d-B d^2-15 c^2 D\right )\right ) (c+d x)^{5/2}}{d^6}+\frac{b^2 (b C d-6 b c D+3 a d D) (c+d x)^{7/2}}{d^6}+\frac{b^3 D (c+d x)^{9/2}}{d^6}\right ) \, dx\\ &=\frac{2 (b c-a d)^3 \left (c^2 C d-B c d^2+A d^3-c^3 D\right )}{d^7 \sqrt{c+d x}}-\frac{2 (b c-a d)^2 \left (a d \left (2 c C d-B d^2-3 c^2 D\right )-b \left (5 c^2 C d-4 B c d^2+3 A d^3-6 c^3 D\right )\right ) \sqrt{c+d x}}{d^7}-\frac{2 (b c-a d) \left (a^2 d^2 (C d-3 c D)-a b d \left (8 c C d-3 B d^2-15 c^2 D\right )+b^2 \left (10 c^2 C d-6 B c d^2+3 A d^3-15 c^3 D\right )\right ) (c+d x)^{3/2}}{3 d^7}+\frac{2 \left (a^3 d^3 D+3 a^2 b d^2 (C d-4 c D)-3 a b^2 d \left (4 c C d-B d^2-10 c^2 D\right )+b^3 \left (10 c^2 C d-4 B c d^2+A d^3-20 c^3 D\right )\right ) (c+d x)^{5/2}}{5 d^7}+\frac{2 b \left (3 a^2 d^2 D+3 a b d (C d-5 c D)-b^2 \left (5 c C d-B d^2-15 c^2 D\right )\right ) (c+d x)^{7/2}}{7 d^7}+\frac{2 b^2 (b C d-6 b c D+3 a d D) (c+d x)^{9/2}}{9 d^7}+\frac{2 b^3 D (c+d x)^{11/2}}{11 d^7}\\ \end{align*}
Mathematica [A] time = 1.14677, size = 391, normalized size = 0.9 \[ \frac{2 \left (693 (c+d x)^3 \left (3 a^2 b d^2 (C d-4 c D)+a^3 d^3 D+3 a b^2 d \left (B d^2+10 c^2 D-4 c C d\right )+b^3 \left (A d^3-4 B c d^2+10 c^2 C d-20 c^3 D\right )\right )-1155 (c+d x)^2 (b c-a d) \left (a^2 d^2 (C d-3 c D)+a b d \left (3 B d^2+15 c^2 D-8 c C d\right )+b^2 \left (3 A d^3-6 B c d^2+10 c^2 C d-15 c^3 D\right )\right )+495 b (c+d x)^4 \left (3 a^2 d^2 D+3 a b d (C d-5 c D)+b^2 \left (B d^2+15 c^2 D-5 c C d\right )\right )-3465 (c+d x) (b c-a d)^2 \left (b \left (-3 A d^3+4 B c d^2-5 c^2 C d+6 c^3 D\right )-a d \left (B d^2+3 c^2 D-2 c C d\right )\right )+3465 (b c-a d)^3 \left (A d^3-B c d^2+c^2 C d+c^3 (-D)\right )+385 b^2 (c+d x)^5 (3 a d D-6 b c D+b C d)+315 b^3 D (c+d x)^6\right )}{3465 d^7 \sqrt{c+d x}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.007, size = 841, normalized size = 1.9 \begin{align*} -{\frac{-630\,{b}^{3}D{x}^{6}{d}^{6}-770\,C{b}^{3}{d}^{6}{x}^{5}-2310\,Da{b}^{2}{d}^{6}{x}^{5}+840\,D{b}^{3}c{d}^{5}{x}^{5}-990\,B{b}^{3}{d}^{6}{x}^{4}-2970\,Ca{b}^{2}{d}^{6}{x}^{4}+1100\,C{b}^{3}c{d}^{5}{x}^{4}-2970\,D{a}^{2}b{d}^{6}{x}^{4}+3300\,Da{b}^{2}c{d}^{5}{x}^{4}-1200\,D{b}^{3}{c}^{2}{d}^{4}{x}^{4}-1386\,A{b}^{3}{d}^{6}{x}^{3}-4158\,Ba{b}^{2}{d}^{6}{x}^{3}+1584\,B{b}^{3}c{d}^{5}{x}^{3}-4158\,C{a}^{2}b{d}^{6}{x}^{3}+4752\,Ca{b}^{2}c{d}^{5}{x}^{3}-1760\,C{b}^{3}{c}^{2}{d}^{4}{x}^{3}-1386\,D{a}^{3}{d}^{6}{x}^{3}+4752\,D{a}^{2}bc{d}^{5}{x}^{3}-5280\,Da{b}^{2}{c}^{2}{d}^{4}{x}^{3}+1920\,D{b}^{3}{c}^{3}{d}^{3}{x}^{3}-6930\,Aa{b}^{2}{d}^{6}{x}^{2}+2772\,A{b}^{3}c{d}^{5}{x}^{2}-6930\,B{a}^{2}b{d}^{6}{x}^{2}+8316\,Ba{b}^{2}c{d}^{5}{x}^{2}-3168\,B{b}^{3}{c}^{2}{d}^{4}{x}^{2}-2310\,C{a}^{3}{d}^{6}{x}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3}{c}^{6}}{3465\,{d}^{7}}{\frac{1}{\sqrt{dx+c}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 2.58906, size = 849, normalized size = 1.96 \begin{align*} \frac{2 \,{\left (\frac{315 \,{\left (d x + c\right )}^{\frac{11}{2}} D b^{3} - 385 \,{\left (6 \, D b^{3} c -{\left (3 \, D a b^{2} + C b^{3}\right )} d\right )}{\left (d x + c\right )}^{\frac{9}{2}} + 495 \,{\left (15 \, D b^{3} c^{2} - 5 \,{\left (3 \, D a b^{2} + C b^{3}\right )} c d +{\left (3 \, D a^{2} b + 3 \, C a b^{2} + B b^{3}\right )} d^{2}\right )}{\left (d x + c\right )}^{\frac{7}{2}} - 693 \,{\left (20 \, D b^{3} c^{3} - 10 \,{\left (3 \, D a b^{2} + C b^{3}\right )} c^{2} d + 4 \,{\left (3 \, D a^{2} b + 3 \, C a b^{2} + B b^{3}\right )} c d^{2} -{\left (D a^{3} + 3 \, C a^{2} b + 3 \, B a b^{2} + A b^{3}\right )} d^{3}\right )}{\left (d x + c\right )}^{\frac{5}{2}} + 1155 \,{\left (15 \, D b^{3} c^{4} - 10 \,{\left (3 \, D a b^{2} + C b^{3}\right )} c^{3} d + 6 \,{\left (3 \, D a^{2} b + 3 \, C a b^{2} + B b^{3}\right )} c^{2} d^{2} - 3 \,{\left (D a^{3} + 3 \, C a^{2} b + 3 \, B a b^{2} + A b^{3}\right )} c d^{3} +{\left (C a^{3} + 3 \, B a^{2} b + 3 \, A a b^{2}\right )} d^{4}\right )}{\left (d x + c\right )}^{\frac{3}{2}} - 3465 \,{\left (6 \, D b^{3} c^{5} - 5 \,{\left (3 \, D a b^{2} + C b^{3}\right )} c^{4} d + 4 \,{\left (3 \, D a^{2} b + 3 \, C a b^{2} + B b^{3}\right )} c^{3} d^{2} - 3 \,{\left (D a^{3} + 3 \, C a^{2} b + 3 \, B a b^{2} + A b^{3}\right )} c^{2} d^{3} + 2 \,{\left (C a^{3} + 3 \, B a^{2} b + 3 \, A a b^{2}\right )} c d^{4} -{\left (B a^{3} + 3 \, A a^{2} b\right )} d^{5}\right )} \sqrt{d x + c}}{d^{6}} - \frac{3465 \,{\left (D b^{3} c^{6} + A a^{3} d^{6} -{\left (3 \, D a b^{2} + C b^{3}\right )} c^{5} d +{\left (3 \, D a^{2} b + 3 \, C a b^{2} + B b^{3}\right )} c^{4} d^{2} -{\left (D a^{3} + 3 \, C a^{2} b + 3 \, B a b^{2} + A b^{3}\right )} c^{3} d^{3} +{\left (C a^{3} + 3 \, B a^{2} b + 3 \, A a b^{2}\right )} c^{2} d^{4} -{\left (B a^{3} + 3 \, A a^{2} b\right )} c d^{5}\right )}}{\sqrt{d x + c} d^{6}}\right )}}{3465 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 2.3888, size = 1440, normalized size = 3.32 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]